home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / smshadebutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-08-13  |  785 b   |  39 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SMSHADEBUTTON_H
  8. #define SMSHADEBUTTON_H
  9.  
  10. #include "shadebutton.h"
  11.  
  12.  
  13. class SMShadeButton  : public ShadeButton
  14. {
  15.     Q_OBJECT
  16. public:
  17.     SMShadeButton(QWidget *parent);
  18.     ~SMShadeButton() {};
  19.  
  20.     void setValue(int i);
  21.     void setValue(int i, bool isParentValue);
  22.  
  23.     void setParentValue(int i);
  24.  
  25.     bool useParentValue();
  26.  
  27. private:
  28.     bool   hasParent_;
  29.     bool   useParentValue_;
  30.     int    pValue_;
  31.     void setFont(bool wantBold);
  32.  
  33. private slots:
  34.     void currentChanged();
  35.     void slotUseParent();
  36. };
  37.  
  38. #endif
  39.